home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group97a.txt / 000108_icon-group-sender _Thu Apr 10 21:53:31 1997.msg < prev    next >
Internet Message Format  |  2000-09-20  |  1KB

  1. Received: from kingfisher.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Fri, 11 Apr 1997 08:46:35 MST
  2. Received: by kingfisher.CS.Arizona.EDU; (5.65v3.2/1.1.8.2/08Nov94-0446PM)
  3.     id AA00848; Fri, 11 Apr 1997 08:46:35 -0700
  4. To: icon-group@cs.arizona.edu
  5. Date: Thu, 10 Apr 1997 21:53:31 +0200
  6. From: Stuart Robinson <Stuart.Robinson@anu.edu.au>
  7. Message-Id: <334D453B.72FD@anu.edu.au>
  8. Organization: ANU
  9. Sender: icon-group-request@cs.arizona.edu
  10. Reply-To: Stuart.Robinson@anu.edu.au
  11. Subject: Records in Icon
  12. Errors-To: icon-group-errors@cs.arizona.edu
  13. Status: RO
  14. Content-Length: 754
  15.  
  16. Does anyone know a way to check two fields of two entries in a record to 
  17. see whether either one of the fields in the two entries share an 
  18. identical value?
  19.  
  20. For example, given a record with three entries and 5 fields like the 
  21. following (where the 4th and 5th field are empty in entries 1 and 3)
  22.  
  23. 1    5    X
  24. 2    5    X    6    Y
  25. 3    6    X
  26.  
  27. how could one check to see whether successive entires (1 and 2 or 2 and 
  28. 3) share a common value in either the second or the fourth field?
  29.  
  30. In other words, how could one write a program that would tell you both 
  31. when 1 and 2 share a common value (5) via the 2nd field and when 2 and 3 
  32. share a common value (6) via the 4th field of 2 and the 2nd field of 3?
  33.  
  34. Thanks in advance.
  35.  
  36. Cheers,
  37. Stuart Robinson
  38. <Stuart.Robinson@anu.edu.au>
  39.